package com.yjs.app.trade.service.service.business.contract;

import java.util.List;
import java.util.Map;

import com.yjs.app.trade.entity.bean.ContractInfo;

/**
 * 合同相关业务接口
 * 
 * @author Administrator
 *
 */
public interface ContractService {

	/**
	 * 查询合同详情
	 * 
	 * @param contractId
	 * @return
	 */
	public ContractInfo findContractInfoById(String contractId);

	/**
	 * 查询器械合同详情
	 * 
	 * @param contractId
	 * @return
	 */
	public ContractInfo findContractApparInfoById(String contractId);

	/**
	 * 查询合同总条数
	 * 
	 * @param searchMap
	 * @return
	 */
	public Long findContractTotalRecordNum(Map<String, String> searchMap);

	/**
	 * 根据id查询合同类型
	 * 
	 * @param list
	 * @return
	 */
	public List<Map<String, Object>> findContractTypeByContractId(List<String> list);
}
